#verk5
mengi = []
for x in range(10):
	mengi.append(int(input()))
mengi = sorted(mengi)
for x in range(10):
        print(mengi[x])
